e1bdd4d90f6b90b1cc97b31db225a1ae91aac841,bukkit/src/main/java/net/buycraft/plugin/bukkit/BuycraftPlugin.java,BuycraftPlugin,onEnable,#,84

Before Change


                .writeTimeout(3, TimeUnit.SECONDS)
                .readTimeout(3, TimeUnit.SECONDS)
                .cache(new Cache(new File(getDataFolder(), "cache"), 1024 * 1024 * 10))
                .dns(new Ipv4PreferDns())
                .build();
        String serverKey = configuration.getServerKey();
        if (serverKey == null || serverKey.equals("INVALID")) {
            getLogger().info("Looks like this is a fresh setup. Get started by using 'buycraft secret <key>' in the console.");

After Change


                .writeTimeout(3, TimeUnit.SECONDS)
                .readTimeout(3, TimeUnit.SECONDS)
                .cache(new Cache(new File(getDataFolder(), "cache"), 1024 * 1024 * 10))
                .dns(new Ipv4PreferDns())
                .proxySelector(ProxySelector.getDefault() == null ? FakeProxySelector.INSTANCE : ProxySelector.getDefault())
                .build();
        String serverKey = configuration.getServerKey();
        if (serverKey == null || serverKey.equals("INVALID")) {
            getLogger().info("Looks like this is a fresh setup. Get started by using 'buycraft secret <key>' in the console.");